package com.bifang.core.dict.gateway.req;

import com.bifang.common.constant.Validators;
import com.bifang.common.vo.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;

@Data
@ApiModel(value = "字典删除对象", description = "数据字典删除")
public class DictDeleteReq extends BaseVO {
    /** 主键 */
    @ApiModelProperty(value = "主键")
    @NotNull(
            groups = {Validators.Del.class},
            message = "字典Id不能为空")
    private Long sysId;

    @ApiModelProperty(value = "数据字典主键批量")
    @NotNull(
            groups = {Validators.BatchDel.class},
            message = "字典Id列表不能为空")
    private List<Long> sysIds;
}
